package com.back.campus_back.mapper;

import com.back.campus_back.domain.ReportGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-04-17
 */
@Mapper
@Repository // 代表持久层
public interface ReportGoodsMapper extends BaseMapper<ReportGoods> {

    //查询所有订单
    public List getReport(@Param(value = "goods_id") Integer goods_id);


    //查询所有评论
    public List findAllReport();


}
